package com.haha.li01;

import com.haha.prictice.student;

public class MyIntegerDemo {
    public static void main(String[] args) {
//        student s= new student();
//        student s1 = new student("玲玲",15);
//        student s2 = new student("玲玲",15);
//        s1.equals(s2);
//        System.out.println(s1.equals(s2));
        String a= "haha";
        StringBuilder a1 = new StringBuilder("haha");
       String a2= a1.toString();


        System.out.println(a.equals(a2));

        System.out.println(a1.equals(a));
    }


}
